package com.sdhs.analyze.dao.network;

import com.sdhs.analyze.bean.network.NetWork;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author liuzhen
 * @date
 */
@Mapper
public interface NetworkMapper {
    /**
     * 查询告警信息
     * @return InfoNodeStatusTrace
     */
    List<NetWork> selectNetworkList();

    /**
     * 更新网络状态
     * @param netWork
     */
    void updateNewwork(NetWork netWork);


    /**
     * 根据机构查询网络状态
     * @param orgId
     * @return
     */
    List<NetWork> selectNetworkByOrgId(String orgId);
}
